package cn.rkylin.oms.accountreport.adapter;

import java.util.Map;

/**
 * 账单适配器
 * 
 * @author jipengcheng
 * @created 2017.04.25
 */
public abstract class AccountreportAdatper {

	private AccountreportVisitor accountreportVisitor;

	public AccountreportVisitor getAccountreportVisitor() {
		return accountreportVisitor;
	}

	public void setAccountreportVisitor(AccountreportVisitor accountreportVisitor) {
		this.accountreportVisitor = accountreportVisitor;
	}

	/**
	 * 构造函数
	 */
	public AccountreportAdatper() {

	}

	/**
	 * 下载账单
	 * 
	 * @param shopId
	 * @param paramMap
	 * @return
	 */
	public abstract int download(String shopId, Map<String, Object> paramMap);

	public void finalize() throws Throwable {

	}
}
